﻿/*---------------------------------------------------------------------*/
// fileName="IDirectoryWinView.cs" CompanyName="SureKAM"
// Copyright SureKAM (c). All right reserved.
/*---------------------------------------------------------------------*/

namespace SureKAM.BackUp.Notify.Presenter.ViewInterfaces
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    public delegate bool DirectiryAdd(string name,int maxSize,string backupServer,string  address);

    public delegate List<Notify.Domain.Directory> flashList();

    public delegate bool DirectoryDelete(string currentID);

    public delegate bool DirectoryUpdate(Notify.Domain.Directory directory);
    public interface IDirectoryWinView
    {
        /// <summary>
        /// 添加对象
        /// </summary>
        DirectiryAdd directoryAdd { get; set; }

        /// <summary>
        /// 删除对象
        /// </summary>
        DirectoryDelete directoryDelete { get; set; }

        /// <summary>
        /// 更新对象
        /// </summary>
        DirectoryUpdate directoryUpdate { get; set; }

        /// <summary>
        /// 刷新对象
        /// </summary>
        flashList reflash { get; set; }

        /// <summary>
        /// 绑定Direcory 对象
        /// </summary>
        /// <param name="directories"></param>
        void DataBindDirectiry(List<Notify.Domain.Directory> directories);

        
    }
}
